Skip to content

Instantly share code, notes, and snippets.

@dnaeon
dnaeon / gist:1167691
Created August 24, 2011 09:43
pkg help / desc
tsunami# pkg
usage: pkg [-d] [-j <jail name or id>|-c <chroot path>] <command> [<args>]
Global options supported:
-d: Increment debug level
Commands supported:
add Registers a package and installs it on the system
autoremove Removes orphan packages
backup Backup and restore the local package database
@hqman
hqman / CLAUDE.md
Created February 23, 2026 13:03
Boris Cherny’s CLAUDE.md

Workflow Orchestration

1. Plan Node Default

  • Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
  • If something goes sideways, STOP and re-plan immediately - don't keep pushing
  • Use plan mode for verification steps, not just building
  • Write detailed specs upfront to reduce ambiguity

2. Subagent Strategy

  • Use subagents liberally to keep main context window clean
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 1, 2026 13:17
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@wincent
wincent / agent-sandboxen.md
Last active August 1, 2026 13:09
List of coding agent sandboxes 2026-05

Coding Agent Sandboxes — Comprehensive List

Compiled from awesome-lists (restyler/awesome-sandbox, webcoyote/awesome-AI-sandbox, bureado/awesome-agent-runtime-security) and a survey of vendor blogs / field guides published through 2026. Grouped by isolation primitive and then by deployment model.

1. OS-level primitives (no container, no VM)

These rely on kernel/userland features to constrain a normal host process. Lowest overhead, weakest boundary.

  • macOS Seatbelt / sandbox-exec — Apple's TrustedBSD-based MAC framework. Used directly by Codex CLI, Gemini CLI, and underneath Anthropic's srt.
  • Linux Landlock — Unprivileged filesystem/network LSM; default backend for Codex CLI on Linux.
@hwhovo
hwhovo / canvas-fabricjs-skill.md
Created March 13, 2026 20:49
Canvas & Fabric.js Comprehensive Skill - Canvas API fundamentals, Fabric.js framework, architecture, SVG parser issues, ClipPath, and best practices
@bansalankit92
bansalankit92 / apache_kafka_interview_questions.md
Last active August 1, 2026 13:06
50 Apache Kafka Interview Questions and Answers for all experience level

(Q.1) What is Apache Kafka?

Apache Kafka is a publish-subscribe open source message broker application. This messaging application was coded in “Scala”. Basically, this project was started by the Apache software. Kafka’s design pattern is mainly based on the transactional logs design. For detailed understanding of Kafka, go through,
Kafka Tutorial.

(Q.2) Enlist the several components in Kafka.

The most important elements of Kafka are:

  • Topic – Kafka Topic is the bunch or a collection of messages.
  • Producer – In Kafka, Producers issue communications as well as publishes messages to a Kafka topic.
  • Consumer – Kafka Consumers subscribes to a topic(s) and also reads and processes messages from the topic(s).
@TaiNing1237
TaiNing1237 / MagicInstall.bat
Created January 1, 2026 04:12
Office 2024 MagicInstall Script
@echo off
setlocal
:: =========================================================
:: 重要:切換到腳本所在的資料夾
:: 這能解決 "找不到 xml" 或路徑錯誤的問題
:: =========================================================
cd /d "%~dp0"
:MENU
CLS
@parthamk
parthamk / DSA-cheatsheet.md
Created January 3, 2026 21:32
🚀 DSA Pattern Identification Cheatsheet

🚀 DSA Pattern Identification Cheatsheet

Goal: Solve problems 50-70% faster and save 100+ hours of effort.

When you solve problems, look out for the keywords below. These hints will help you identify the underlying pattern immediately and trim down thinking time in 45-minute interview rounds.


🔙 Backtracking

@whaiman
whaiman / hardened-systemd-unit-templates.md
Last active August 1, 2026 13:00
Hardened systemd unit templates - production-ready security directives explained

Hardened systemd unit templates

Production-ready systemd unit templates with a full set of security directives, each one explained - not just listed. Most systemd guides show [Service] ExecStart=... and stop there. This repo focuses on isolating the process from the rest of the system: what happens if the service gets compromised, and how far the attacker actually gets.

Contents